package service.impl;

import mapper.Invitationmapper;
import org.springframework.stereotype.Service;
import pojo.Invitation;
import service.Invitationservice;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by dell on 2019/2/20.
 */
@Service
public class Ivitationserviceimpl implements Invitationservice {
    @Resource
    public Invitationmapper invitationmapper;
    @Override
    public List<Invitation> all(String title, int currPageNo, int pageSize) {

        return invitationmapper.all(title,currPageNo,pageSize);
    }

    @Override
    public int Cont() {
        return invitationmapper.Cont();
    }
}
